﻿using System;
using System.Collections.Generic;
using System.Web;
using DatabaseLibrary;

/// <summary>
/// Summary description for Login
/// </summary>
public class Login
{
    public Login() {}

    Vo_login Obj_login = new Vo_login();

    public Vo_login Objlogin
    {
        get { return Obj_login; }
        set { Obj_login = value; }
    }

    public List<Vo_login> consultar(int validawhere)
    {
       DaoGenerico<Vo_login> dao = new DaoGenerico<Vo_login>();
       List<Vo_login> Mylista = dao.listar_sp("Sp_login",Obj_login, validawhere);        
       return Mylista;
    }
}
